import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
  history: createWebHistory(), // 这里指定基本URL
  routes: [
    {
      path: '/ledge',
      name: 'ledge',
      component: () => import('@/views/Home/index.vue'),
    },
    {
      path: '/uswifi',
      name: 'uswifi',
      component: () => import('@/views/Home/uswifi.vue'),
    },
    {
      path: '/',
      redirect: '/ledge',
    },
  ],
})
export default router
